Structured Data Representation Using Ruby Syntax
نویسنده
چکیده
This paper describes Ribbon (Ruby Instructions Becoming Basic Object Notation), a new representation written in a text-based data format using Ruby syntax. The design principle of Ribbon is good readability and simplicity of structured data representation. An important feature of Ribbon is an executable representation. Once Ribbon-related definitions are loaded into a Ruby interpreter, the representation can be executed corresponding to the definitions. Java programs are expected to read/write Java objects to persistent storage-media, or to traverse the structured data. A program generator was developed to create Ruby and Java programs from Ribbon definitions. In the author’s experience, productivity was improved in the design and implementation of programs that manipulate structured data.
منابع مشابه
Deep integration of the OWL ontology language into Ruby using metaprogramming
syntax of OWL LITE139 Instances of Protocol: PCRSupermixProtocol : Protocol HighMWRunningBuffer5xProtocol : BufferProtocol LowMWRunningBuffer5xProtocol : BufferProtocol TAEBufferProtocol : BufferProtocol GelBuffer3P5XProtocol : BufferProtocol AffymetrixDNALabellingForGeneExpressionArrays : InV itroProtocol AgaroseGelElectrophoresis : InV itroProtocol SDSPAGE : InV itroProtocol BacterialCell...
متن کاملSimplified Message Transformation for Optimization of Message Processing in 3G-324M Control Protocol
3G-324M is a multimedia transmission protocol designed for 3G communication environment. Meanwhile H.245 standard is a control protocol in 3G-324M and gives specific descriptions about terminal information messages in H.245 control channel as well as the procedures using them. The message syntax is defined using an external data representation standard called Abstract Syntax Notation One (ASN.1...
متن کاملFrom Lisp S-expressions to Java source code
The syntax of Lisp languages is based on S-expressions, an extremely simple form of structured data representation that is nevertheless fundamental to the development of Lisp syntactic extensions. By adopting a more conventional syntax, the Java language placed itself in a difficult position in regard to user-defined syntax extensions. In spite of the many efforts to provide mechanisms for such...
متن کاملStructured and Logical Representations of Assamese Text for Question-Answering System
Written documents contain information in a language specific syntax form. Computational processing of such information demands representation in a structured form suitable for handling, processing, and analyzing. Such structured representation of documents enables extraction of knowledge through computational means. Once the textual data are represented in structured form, logical representatio...
متن کاملSerializing C Intermediate Representations to Promote Efficiency and Portability
C static analysis tools need access to intermediate representations (IRs) that organize program data in a well-structured manner. However, the C parsers that create IRs are slow, and they are not available for most languages. To solve these problems, we investigate two language-independent, on-disk representations of C IRs: one using XML, and the other using an Internet standard binary encoding...
متن کامل